﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NewInCsharp8
{
    interface ILogger
    {
        //接口当中可以有默认的实现
        void Log(string text) => Console.WriteLine(text);

    }
}
